package com.qiuxi.modules.system.appservice.permission.request;

import com.cartisan.repositories.Condition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author wz
 * @date 2020/1/10 15:46
 */
@Data
public class SearchPermission {
    @ApiModelProperty(value = "权限名称", required = true)
    @Condition(propName = "name", type = Condition.Type.INNER_LIKE)
    private String name;

    @ApiModelProperty(value = "权限编码", required = true)
    @Condition(propName = "code", type = Condition.Type.INNER_LIKE)
    private String code;

    @ApiModelProperty(value = "权限路径", required = true)
    @Condition(propName = "path", type = Condition.Type.INNER_LIKE)
    private String path;
}
